#ifndef __BRANCH1_BASE_BRANCH1_XML_MANAGER_H__
#define __BRANCH1_BASE_BRANCH1_XML_MANAGER_H__
#include "Branch1BaseConfig.h"
#include <tinyxml/tinyxml.h>
#include <daisy/Singleton.h>
#ifndef  TIXML_USE_STL
#define TIXML_USE_STL
#endif
namespace DAISY
{
	namespace XML
	{
		const std::string ACTORS("Actors");
		const std::string ACTOR("Actor");
		const std::string SCENES("Scenes");
		const std::string SCENE("Scene");
		const std::string POSX("x");
		const std::string POSY("y");
		const std::string POSZ("z");
		const std::string VALUE("Value");
		const std::string NAME("Name");
		const std::string TYPE("Type");
		const std::string CHANNEL("Channel");
		const std::string SCALE("Scale");
		const std::string SCALEX("ScaleX");
		const std::string SCALEY("ScaleY");
		const std::string SCALEZ("ScaleZ");
		const std::string ISVISIBLE("IsVisible");
		const std::string ISENABLE("IsEnable");
		const std::string ISUPDATE("IsUpdate");
		const std::string MASS("Mass");
		const std::string MESH("Mesh");
		const std::string DAISYSCENE_CONFIG("DaisySceneConfig");


		 class _BranchBaseExport XMLManager:public DAISY::Tools::Singleton<XMLManager>
		{
		public:
			bool init(std::string& fileName);
			void shutDown();
			TiXmlDocument* getDocument();
		private:
			TiXmlDocument* _document; 
		};
	}
}
#endif